<?php 
	$arrParam = $this->arrParam;
	$arrMenu = array();
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'index'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['controller'] == 'index' && $arrParam['action'] == 'index')?' class="active"':'';								
	$arrMenu[] = '<li' . $active . ' ><a href="' . $link . '">Trang chủ</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'about-us'
									), 'about-us');
	$active = ($arrParam['module'] == 'default' && $arrParam['controller'] == 'index' && $arrParam['action'] == 'index')?' class="active"':'';								
	$arrMenu[] = '<li' . $active . ' ><a href="' . $link . '">Giới thiệu</a></li>';
		
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'new-product'
									), 'new-product');
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'new-product')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Sản phẩm mới</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'special-product'
									), 'special-product');
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'all-product')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Đặc biệt</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'all-product'
									), 'all-product');
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'all-product')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Sản phẩm</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'contact'
									), 'contact');
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'contact')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Liên hệ</a></li>';
	
	
?>
		<div class="footer_menu">
	    	<ul>
	       	<?php 
			if(!empty($arrMenu)){
				foreach ($arrMenu as $k => $v){
					echo $v;
				}
			}
			?>
		 	</ul>
	  	</div>
